<?php
/**
 * 网站参数设置模版
 * $Id: settings.php 206 2010-11-18 08:01:40Z bwanglei@gmail.com $
 */?>
<div id="main"><table width="100%">
<tr style="font-weight:bold;"><td>名称</td><td>描述</td><td>参数值</td><td>保存</td></tr>
<?php foreach ($one_settings as $setting) {
	?>
	<tr><form action="<?php echo $blogUrl;?>/admin/settings.php?action=update" method="post">
	<td><?php echo $setting['name'];?></td>
	<td><?php echo $setting['miaoshu'];?></td>
	<td><input type="text" name="value_setting" value="<?php echo $setting['value'];?>" /></td>
	<td>
		<input type="hidden" name="name_setting" value="<?php echo $setting['name'];?>" />
		<input type="submit" value="保存" />
	</td></form></tr>
	<?php
}?></table></div>
